package com.local.model;

import java.util.ArrayList;
import java.util.List;

public class LocalWeekSectionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LocalWeekSectionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidIsNull() {
            addCriterion("charge_bytime_uuid is null");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidIsNotNull() {
            addCriterion("charge_bytime_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidEqualTo(String value) {
            addCriterion("charge_bytime_uuid =", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidNotEqualTo(String value) {
            addCriterion("charge_bytime_uuid <>", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidGreaterThan(String value) {
            addCriterion("charge_bytime_uuid >", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidGreaterThanOrEqualTo(String value) {
            addCriterion("charge_bytime_uuid >=", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidLessThan(String value) {
            addCriterion("charge_bytime_uuid <", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidLessThanOrEqualTo(String value) {
            addCriterion("charge_bytime_uuid <=", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidLike(String value) {
            addCriterion("charge_bytime_uuid like", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidNotLike(String value) {
            addCriterion("charge_bytime_uuid not like", value, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidIn(List<String> values) {
            addCriterion("charge_bytime_uuid in", values, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidNotIn(List<String> values) {
            addCriterion("charge_bytime_uuid not in", values, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidBetween(String value1, String value2) {
            addCriterion("charge_bytime_uuid between", value1, value2, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andChargeBytimeUuidNotBetween(String value1, String value2) {
            addCriterion("charge_bytime_uuid not between", value1, value2, "chargeBytimeUuid");
            return (Criteria) this;
        }

        public Criteria andSectionIsNull() {
            addCriterion("section is null");
            return (Criteria) this;
        }

        public Criteria andSectionIsNotNull() {
            addCriterion("section is not null");
            return (Criteria) this;
        }

        public Criteria andSectionEqualTo(String value) {
            addCriterion("section =", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionNotEqualTo(String value) {
            addCriterion("section <>", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionGreaterThan(String value) {
            addCriterion("section >", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionGreaterThanOrEqualTo(String value) {
            addCriterion("section >=", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionLessThan(String value) {
            addCriterion("section <", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionLessThanOrEqualTo(String value) {
            addCriterion("section <=", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionLike(String value) {
            addCriterion("section like", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionNotLike(String value) {
            addCriterion("section not like", value, "section");
            return (Criteria) this;
        }

        public Criteria andSectionIn(List<String> values) {
            addCriterion("section in", values, "section");
            return (Criteria) this;
        }

        public Criteria andSectionNotIn(List<String> values) {
            addCriterion("section not in", values, "section");
            return (Criteria) this;
        }

        public Criteria andSectionBetween(String value1, String value2) {
            addCriterion("section between", value1, value2, "section");
            return (Criteria) this;
        }

        public Criteria andSectionNotBetween(String value1, String value2) {
            addCriterion("section not between", value1, value2, "section");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeIsNull() {
            addCriterion("section_start_time is null");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeIsNotNull() {
            addCriterion("section_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeEqualTo(String value) {
            addCriterion("section_start_time =", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeNotEqualTo(String value) {
            addCriterion("section_start_time <>", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeGreaterThan(String value) {
            addCriterion("section_start_time >", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("section_start_time >=", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeLessThan(String value) {
            addCriterion("section_start_time <", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeLessThanOrEqualTo(String value) {
            addCriterion("section_start_time <=", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeLike(String value) {
            addCriterion("section_start_time like", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeNotLike(String value) {
            addCriterion("section_start_time not like", value, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeIn(List<String> values) {
            addCriterion("section_start_time in", values, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeNotIn(List<String> values) {
            addCriterion("section_start_time not in", values, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeBetween(String value1, String value2) {
            addCriterion("section_start_time between", value1, value2, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionStartTimeNotBetween(String value1, String value2) {
            addCriterion("section_start_time not between", value1, value2, "sectionStartTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeIsNull() {
            addCriterion("section_end_time is null");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeIsNotNull() {
            addCriterion("section_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeEqualTo(String value) {
            addCriterion("section_end_time =", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeNotEqualTo(String value) {
            addCriterion("section_end_time <>", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeGreaterThan(String value) {
            addCriterion("section_end_time >", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("section_end_time >=", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeLessThan(String value) {
            addCriterion("section_end_time <", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeLessThanOrEqualTo(String value) {
            addCriterion("section_end_time <=", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeLike(String value) {
            addCriterion("section_end_time like", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeNotLike(String value) {
            addCriterion("section_end_time not like", value, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeIn(List<String> values) {
            addCriterion("section_end_time in", values, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeNotIn(List<String> values) {
            addCriterion("section_end_time not in", values, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeBetween(String value1, String value2) {
            addCriterion("section_end_time between", value1, value2, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andSectionEndTimeNotBetween(String value1, String value2) {
            addCriterion("section_end_time not between", value1, value2, "sectionEndTime");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidIsNull() {
            addCriterion("car_type_uuid is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidIsNotNull() {
            addCriterion("car_type_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidEqualTo(String value) {
            addCriterion("car_type_uuid =", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidNotEqualTo(String value) {
            addCriterion("car_type_uuid <>", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidGreaterThan(String value) {
            addCriterion("car_type_uuid >", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidGreaterThanOrEqualTo(String value) {
            addCriterion("car_type_uuid >=", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidLessThan(String value) {
            addCriterion("car_type_uuid <", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidLessThanOrEqualTo(String value) {
            addCriterion("car_type_uuid <=", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidLike(String value) {
            addCriterion("car_type_uuid like", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidNotLike(String value) {
            addCriterion("car_type_uuid not like", value, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidIn(List<String> values) {
            addCriterion("car_type_uuid in", values, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidNotIn(List<String> values) {
            addCriterion("car_type_uuid not in", values, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidBetween(String value1, String value2) {
            addCriterion("car_type_uuid between", value1, value2, "carTypeUuid");
            return (Criteria) this;
        }

        public Criteria andCarTypeUuidNotBetween(String value1, String value2) {
            addCriterion("car_type_uuid not between", value1, value2, "carTypeUuid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}